package com.example.demo.entity;

import java.io.Serializable;

public class Team implements Serializable {
    private Integer teamId;

    private String teamName;

    private Integer teamManagerId;

    private String teamType;

    private Integer teamOfConpantyId;

    private static final long serialVersionUID = 1L;

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName == null ? null : teamName.trim();
    }

    public Integer getTeamManagerId() {
        return teamManagerId;
    }

    public void setTeamManagerId(Integer teamManagerId) {
        this.teamManagerId = teamManagerId;
    }

    public String getTeamType() {
        return teamType;
    }

    public void setTeamType(String teamType) {
        this.teamType = teamType == null ? null : teamType.trim();
    }

    public Integer getTeamOfConpantyId() {
        return teamOfConpantyId;
    }

    public void setTeamOfConpantyId(Integer teamOfConpantyId) {
        this.teamOfConpantyId = teamOfConpantyId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", teamId=").append(teamId);
        sb.append(", teamName=").append(teamName);
        sb.append(", teamManagerId=").append(teamManagerId);
        sb.append(", teamType=").append(teamType);
        sb.append(", teamOfConpantyId=").append(teamOfConpantyId);
        sb.append("]");
        return sb.toString();
    }
}